package com.nuesoft.acquisition.sensor.product.controller;

import com.nuesoft.acquisition.sensor.product.entity.Monitor;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@CrossOrigin
@RequestMapping("/monitor")
public class MonitorController {
    @RequestMapping("/all")
    public Monitor findAll()
    {
         return   new Monitor();
    }
}
